/*
 * ICRUDService.java
 *
 * Created on 2007年10月7日, 下午5:33
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package jeffxu.dao;

/**
 *
 * @author jeff
 */
public interface ICRUDService<T> {
    
     boolean add(T t);
     boolean delete(T t);
     boolean delete(T t, boolean permanent);
     boolean update(T t);
     T findById(long id);
     
}
